package org.example.emp.pojo;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Salary {
    private Integer salaryID; // 工资ID
    private Employee employee; // 员工，一对多关系
    private Double baseSalary; // 基本工资，不允许为空
    private Double bonus; // 奖金
    private Double deduction; // 扣除项
    private Double netSalary; // 实发工资，不允许为空

}
